package org.shuker.executor;

import org.shuker.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：Shuker
 * @date ：Created in 2022/6/14 11:48
 * @description：
 * @version:
 */
public class BoundSql {
//    解析过后的sql语句
    private String sqlText;
//    解析出来的参数
    private List<ParameterMapping> parameterMappingList = new ArrayList<>();

    public BoundSql(String sqlText,List<ParameterMapping> parameterMappingList){
        this.sqlText = sqlText;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
